package com.aaa.system.service;

import com.aaa.entity.Notice;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 通知公告表 服务类
 * </p>
 *
 * @author L
 * @since 2023-03-24
 */
public interface INoticeService extends IService<Notice> {

    Result<IPage<Notice>> selectAll(Integer current, Integer size, Notice notice);

    Result<Boolean> saveOrUpdateNotice(Notice notice);

    Result<Boolean> deleteNoticeByIds(Long[] noticeIds);
}
